<?php defined('_JEXEC') or die('Restricted access'); ?>
<h1 class="componentheading"><?php echo JText::_("Province:") . " " . $this->province->p_name ?></h1>
<div>
<div style="float: left; width: 50%">
			<?php echo $this->province->p_info ?>

</div>
<div style="float: right; width:48%">
	<h2><?php echo JText::_( 'House list' ); ?></h2>
	<?php
	$k = 0;
	
	foreach ($this->houses as $row)	
	{
		$link 		= JRoute::_( 'index.php?option=com_congregation&controller=house&task=show&id='. $row->c_id );
		?>
		<div class="<?php echo "row$k"; ?>">
			<a href="<?php echo $link ?>" onclick="return listItemTask('cb<?php echo $i; ?>', 'edit')">
			<?php echo $row->c_name ; ?>
			</a>
		</div>
		<?php
		$k = 1 - $k;
	}
	?>

</div>

</div>